var runtime.forcegc
12 uses
runtime (current package)
proc.go#L314: forcegc.g = getg()
proc.go#L315: lockInit(&forcegc.lock, lockRankForcegc)
proc.go#L317: lock(&forcegc.lock)
proc.go#L318: if forcegc.idle.Load() {
proc.go#L321: forcegc.idle.Store(true)
proc.go#L322: goparkunlock(&forcegc.lock, waitReasonForceGCIdle, traceBlockSystemGoroutine, 1)
proc.go#L5645: if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
proc.go#L5646: lock(&forcegc.lock)
proc.go#L5647: forcegc.idle.Store(false)
proc.go#L5649: list.push(forcegc.g)
proc.go#L5651: unlock(&forcegc.lock)
runtime2.go#L1144: forcegc forcegcstate
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |